<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="catalog" tagdir="/WEB-INF/tags/catalog"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>
<%@ taglib prefix="customer" tagdir="/WEB-INF/tags/customer"%>
<form method="post" id="replyForm_${productReview.productReviewId}">
	<div class="item_reply_form">
		<ins></ins>
		<span><textarea colspan="30" rowspan="5" name="message" id="replyMessage_${productReview.productReviewId}"></textarea><br/><br/></span>
		<div class="clearfix">
		<c:if test="${appConfig.customerReviewReplyRight==0 and empty currUser}">
			<br/>
			<%--如果允许匿名用户发表评论且当前未登录 --%>
			<span class="inputname"><fmt:message key="productReviewReplyForm.customerName"/>:<span><input class="inputtxt3" id="replyCustomerName_${productReview.productReviewId}" name="customerName" /></span></span>
		</c:if>
		<input type="hidden" name="productReviewId" value="${productReview.productReviewId}"/>
		<a href="javascript:void(0)" class="cancel" onclick="closeReview(${productReview.productReviewId},this)"><fmt:message key="productReview.reply.button.cancel"/></a>
		<input type="button" class="submit" onclick="replyReview(${productReview.productReviewId},this)"/>
		</div>
	</div>
</form>

